//
// Created by fho4565 on 2024/6/18.
//

#include <QString>
#include "../headers/PackMcmeta.h"

PackMcmeta::PackMcmeta(unsigned char *packFormat) : pack_format(packFormat) {}

PackMcmeta::PackMcmeta(unsigned char *packFormat, QString *description) : pack_format(packFormat),
                                                                          description(description)
{

}

PackMcmeta::PackMcmeta(unsigned char *packFormat, QPair<unsigned char, unsigned char> *supportedFormats,
                       QString *description, QList<QPair<QString, QString>> *filterBlocks, QStringList *featuresEnabled,
                       QList<QPair<QPair<unsigned char, unsigned char>, QString>> *overlaysEntries) : pack_format(packFormat),
                       supported_formats(supportedFormats), description(description), filter_blocks(filterBlocks),
                       features_enabled(featuresEnabled),overlays_entries(overlaysEntries)
{
}

QString PackMcmeta::getSuffixName() {
    return {".mcmeta"};
}
